package com.client.ryt.task.http.request;


import com.client.ryt.basic.BaseRequest;
import com.client.ryt.entity.parameter.CheckCardParameters;
import com.client.ryt.entity.parameter.LoginParameters;


/**
 * Created by Administrator on 2014/7/11.
 */
public class CheckCardRequest extends BaseRequest {

    @Override
    public String encodeRequestString() {
        CheckCardParameters params = (CheckCardParameters)parameters;
        return "username/"+params.getUsername()+"/token/"+params.getToken()+"/shop_id/"+ params.getShopid() +"/card_sn/"+params.getCardsn();
    }

    @Override
    public String method() {
        return "checkcard";
    }
}
